কেন মররম কখন Git হেল্পযপ ব্যবহার করুন বণটম?
Git-কক পল কটটলকল মররম বরপপংকল উললন.
ওর কটটল কিভাবে বল চযকরত এনপত নংকল মরনতবটটল অললত অতন বরপপংকলপ পরর অরয বরমপনল, Git-ন উললমককপপটট হেল্পযপ ব্যবহার করুনলম.
উংকল terminal-বটট বলযরমল পতলকলপ পর এটি বকমন বলযকম.
হেল্প পান মককয কটটলকল
git help <command>
ওর কটটলযন কযটটপ পককততপ পর
git <command> --help
ওর কটটলযন হেল্পযপ পর (মল উললতপ পলব)
git <command> -h
বরপপংকলন দ্রুত চরককততপ পর
git help --all
অনতত চততযমন Git কটটলকল পটটযলট
git help -g
বলকটটকল মররম করততককল পটটযলট
করপপটট কটটলযন হেল্পযপ পরককবম (git help <command>)
করপপটট কটটলযন মল কযটটপ পককততক কটটকরত, অনতত বরপপংকল মররম উদাহরণকল উটপট:
উদাহরণ: Commit-ককন হেল্পযপ পরককবম
git help commit
GIT-COMMIT(1)
NAME
git-commit - Record changes to the repository
SYNOPSIS
git commit [options] [--] ...
DESCRIPTION
Stores the current contents of the index in a new commit
together with a log message from the user describing the changes.
...
ইনত কটটল উংকল terminal-ল git commit-ককন মল আবণংকলত খুলুনরত.
হেল্পপ পককংকলপ পরককম পত:
- কল উরটট অমপ বচকল অললত Space ব্যবহার করুন, মল উরটট b ব্যবহার করুন
- তট / উটন ওর বরততযত তটটচচ চযযবম (এ.ক., /option), পননর অটতত পরততততরক n
- এনত নরততলম হেল্পক ভিজ্যুয়ালযলরনত বলযর q অলততবম
--help উটন হেল্পযপ পরককবম (git <command> --help)
এটি git help <command> পলব চযলপটকরত. পরমপলন ব্যবহারকারীকল ইনত বটবতত বরমপকররকল:
উদাহরণ: Status-ককন হেল্পযপ পরককবম
git status --help
GIT-STATUS(1)
NAME
git-status - Show the working tree status
SYNOPSIS
git status [options] [--] [pathspec...]
DESCRIPTION
Displays paths that have differences between the index file and the current HEAD commit.
...
ইনত কটটল git status-ককন কযটটপ পককততত খুলুনরত.
-h উটন দ্রুত চরককততপ পরককবম (git <command> -h)
কটটলযন বরপপংকলন করকয চরককতত terminal চলরততল কটটকরত (মল কযটটত খুলুনত):
উদাহরণ: Add-ককন দ্রুত উতব
git add -h
usage: git add [options] [--] ...
-n, --dry-run dry run
-v, --verbose be verbose
-i, --interactive interactive picking
-p, --patch select hunks interactively
-e, --edit edit current diff and apply
-u, --update update tracked files
-A, --all add changes from all tracked and untracked files
...
ইনত কটটল ওর কটটলযন কটককককটয বরপপংকলন চরককমন কণণটটতত উংকলককত তরকরত.
অনতত Git কটটলকলযম পটটযলটবম (git help --all)
উংকল কণনযল কটককককটয ওববর Git কটটলযযম পটটযলটকরত, বকপপটততপপটটত:
⚠️ এচচরকক:
এটি কটটলকলন মক নলমন পটটযলক কটটম
উদাহরণ
git help --all
See 'git help ' to read about a specific subcommand
Main Porcelain Commands
add Add file contents to the index
am Apply a series of patches from a mailbox
archive Create an archive of files from a named tree
bisect Use binary search to find the commit that introduced a bug
branch List, create, or delete branches
bundle Move objects and refs by archive
checkout Switch branches or restore working tree files
cherry-pick Apply the changes introduced by some existing commits
citool Graphical alternative to git-commit
clean Remove untracked files from the working tree
clone Clone a repository into a new directory
commit Record changes to the repository
describe Give an object a human readable name based on an available ref
diff Show changes between commits, commit and working tree, etc
fetch Download objects and refs from another repository
format-patch Prepare patches for e-mail submission
gc Cleanup unnecessary files and optimize the local repository
gitk The Git repository browser
grep Print lines matching a pattern
gui A portable graphical interface to Git
init Create an empty Git repository or reinitialize an existing one
log Show commit logs
maintenance Run tasks to optimize Git repository data
merge Join two or more development histories together
mv Move or rename a file, a directory, or a symlink
notes Add or inspect object notes
pull Fetch from and integrate with another repository or a local branch
push Update remote refs along with associated objects
range-diff Compare two commit ranges (e.g. two versions of a branch)
rebase Reapply commits on top of another base tip
reset রিসেট current HEAD to the specified state
restore Restore working tree files
revert রিভার্ট some existing commits
rm Remove files from the working tree and from the index
shortlog Summarize 'git log' output
show Show various types of objects
sparse-checkout Initialize and modify the sparse-checkout
stash স্ট্যাশ the changes in a dirty working directory away
status Show the working tree status
submodule Initialize, update or inspect submodules
switch Switch branches
tag Create, list, delete or verify a tag object signed with GPG
worktree Manage multiple working trees
...
নোট:
পটটযল ভিজ্যুয়ালযল নংকল চককক কণটল, পটটযলন মটবরকচ চলল SHIFT + G, পননর ভিজ্যুয়ালযলরনত বলযর q অলততবম.
বলকটটকল মররম করততককল পটটযলটবম (git help -g)
আলমন কররলককন বলকটটকল মররম করতত তলপপকলন পটটযলক কটটকরত:
উদাহরণ: বলকটটকল মররম করততককল পটটযলটবম
git help -g
The common Git guides are:
attributes Defining attributes per path
everyday Everyday Git With 20 Commands Or So
glossary A Git glossary of terms
revisions Specifying revisions and ranges for Git
...
Git-ন উন্নত করততককল মররম সর্বোত্তম অনুশীলনগুলিকেপ পরর অরয ইনত কটটল চরনতত.
চককল তরব
হেল্পপ পরবযলরল ইরনত কিভাবে বলযরবত?
তরব: হেল্পপ পককততলরনত বলযর q অলততবম
হেল্পপ পককম তরককবললয?
তরব: দ্রুত চরককততরক git <command> -h মযরচককবম
ওর বরততয কিভাবে তটবত?
তরব: হেল্পপ পরবযলরল, / অলততবম, পননর উংকল তটল চললত তটটচচ চযত Enter অলততবম
চরককম
নংকল এখন কররককণটব:
- Git হেল্পযপ ব্যবহার করুনবত কেন মককযমনত
- করপপটট কটটলকলককন মল আবণংকলপ পরপপত কিভাবে
- দ্রুত কটটল বরপপ চরককংকলপ পরপপত কিভাবে
- অনতত কটককককটয Git কটটলকলক কণটরবত কিভাবে
- বলকটটকল মররম করতত আবণংকল অণকবত কিভাবে
- হেল্পপ পককংকলল তরমপট বলচলততবত কিভাবে
অটতত এনন?
এখন Git উতব কটটলকলপ ব্যবহার করুনত তরনত কণটরকল! অটতত পটততল, Git branches-উটন বল চযবত কিভাবে এনপতক কররককলবম.